home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / lpr10.zip / README < prev   
Text File  |  1992-11-09  |  2KB  |  61 lines

  1. lpr, lpq, lprm - TCP/IP printing to remote hosts.
  2.  
  3. Author: Eric Brown (C) 1992
  4.   internet: ebrown@tap.kodak.com
  5.   compuserve: 71214,1006
  6.  
  7. 8 November 1992
  8. Release 1.0 lpr, lpq, lprm
  9.  
  10.  
  11. DOCUMENTATION:
  12.  
  13.   Almost all standard unix options are support except the '+' lpq option.
  14.   See the respective UNIX man pages for documentation.  Differences and
  15.   required environment variables are listed below.
  16.  
  17. ENVIRONMENT VARIABLES:
  18.  
  19.   SERVER - Name or IP address of remote computer
  20.   PRINTER - Name of printer on remote computer
  21.   TEMP - Directory for temporary files and sequence file
  22.   
  23. ADDITIONAL OPTIONS:
  24.  
  25.   -Sserver - To manually specify name of server
  26.   -u - (for lpr only) Strip file of lines that start with ^D.
  27.        This option is to aid printing Windows PostScript files.
  28.  
  29. OTHER PROGRAMS:
  30.  
  31.   For printing standard text files, I recomend picking up a copy of nenscrpt
  32.   which I also ported to NT. It does a nice job of formatting text for Post-
  33.   Script printers. It supports 2up and nice headers.
  34.   
  35. IMPLEMENTATION:
  36.  
  37.   I got most of my information for these programs from _UNIX_Network_Prog-
  38.   ramming_ by W. Richard Stevens and from looking over the NCSA lpr programs
  39.   written by Paul Hilchey. The UNIX man pages helped a bit too.
  40.   
  41.   I hope this is an ok example of how to use the Windows Socket API. These 
  42.   programs are all Windows NT Win32 console apps. These were developed with
  43.   the October beta release of Windows NT.
  44.   
  45. AREAS FOR IMPROVEMENT:
  46.  
  47.   -Use Win32 file system routines. This allows for delete on close temporary
  48.   files. According to the Win32 documentation, these files might also never
  49.   get physically written to disk - a speed improvement.
  50.   -lpr could be structured better. Ideally, we should have a set of routines
  51.   one could easily integrate into a windows version of lpr.
  52.   -Support for a printcap file.
  53.   -Support for dumping files/PostScript out a serial port or such via
  54.   appropriate printcap entries.
  55.   -Integrate with PrintManager (Use AddPort() - I haven't figured this out
  56.   yet).
  57.   -lpd??? Perhaps. That's streching it though. It would be nice if the Print-
  58.   Manager was really extensible.
  59.   -Drag and drop app. MS should do this with the PrintManager just for kicks.
  60.  
  61.